<%-- 
    Document   : revisionArt
    Created on : 27-abr-2014, 13:45:54
    Author     : Rafa
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<!DOCTYPE html>
<html>
    <head>
        <%@include file="head.html" %>
    </head>
    <body>

        <!-- Header -->
        <div id="header" class="skel-panels-fixed">

            <div class="top">

                <!-- Logo -->
                <%@include file="perfil.jsp" %>

                <!-- Nav -->
                <nav id="nav">
                    <ul>
                        <li><html:link action="/VistaUsuario/Rseccion/irInicio"><span class="fa fa-dashboard">Control de Mando</span></html:link></li>                
                        <li><html:link action="/VistaUsuario/Rseccion/irNuevosArt"><span class="fa fa-envelope-o">Articulos Nuevos</span></html:link></li>
                        <li><a href="#revisionArt" id="revisionArt-link" class="skel-panels-ignoreHref"><span class="fa fa-eye">Articulos en Revision</span></a></li>
                        <li><html:link action="/VistaUsuario/Rseccion/irAceptadosArt"><span class="fa fa-check-square">Articulos Aceptados</span></html:link></li>
                        <li><html:link action="/VistaUsuario/Rseccion/irAutores"><span class="fa fa-users">Autores</span></html:link></li>                
                        </ul>
                    </nav>

                </div>

            </div>
            <!-- Main -->
            <div id="main">

                <!-- Portfolio -->
                <section id="revisionArt" class="two">
                    <div class="container">

                        <header>
                            <h2>En Revision</h2>
                        </header>

                        <logic:notEmpty name="articulos">
                            <logic:iterate name="articulos" id="listaArticuloS" >   
                                    <logic:iterate name="listaArticulos" id="articulo" >  
                                <bean:write name="articulo" property="titulo" />
                                <!-- Boton para aceptar el articulo -->                               
                                    <html:form action="/VistaUsuario/RSeccion/revisionArt">
                                        <html:hidden name="articulo" property="idArticulo"/>
                                        <span><html:image styleId="modificar" src="images/modificar.png" style="width: 15px; height: 15px"/></span>
                                    </html:form>
                                    </logic:iterate>
                            </logic:iterate>

                        </logic:notEmpty>
                        <logic:empty name="articulos">
                            <p>No hay articulos</p>
                        </logic:empty>
                    </div>
                </section>
            </div>

            <!-- Footer -->
            <div id="footer">
            <%@include file="footer.html" %>
        </div>
    </body>
</html>
